<template>
    <el-container>
        <el-header>
            <Header />
        </el-header>
        <el-container class="main">
            <el-aside width="200px">
                <Aside />
            </el-aside>
            <el-main>
                <RouterView />
            </el-main>
        </el-container>
    </el-container>
</template>

<style scoped>
.el-header {
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
    height: var(--headerH);
    padding: 0;
}

.el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
    width: var(--asideW);
}

.main {
    height: calc(100vh - var(--headerH));
    overflow: hidden;
}
</style>

<script setup>
import Aside from './Aside.vue';
import Header from './Header.vue';
</script>
